<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="include::header"></head>
<!-- edit Modal -->
<body>
<div class="wrapper wrapper-content animated fadeInRight" style="margin: 40px 60px">
    <form id="signupForm" class="layui-form" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">课程名称</label>
            <div class="layui-input-block">
                <input type="text" name="title" id="course-name" th:value="${name}" required lay-verify="required"
                       placeholder="请输入标题" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">描述</label>
            <div class="layui-input-block">
                <textarea name="desc" id="course-text" placeholder="请输入内容" class="layui-textarea"
                          th:text="${describe}"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-block">
                <input type="datetime-local" name="title" id="course-start-input" value="2020-02-21T08:30:00"
                       th:value="${startTime}" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="datetime-local" name="title" id="course-end-input" value="2020-02-21T08:30:00"
                       th:value="${endTime}" required lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo"
                        th:onclick="'javascript:update(\''+${id}+'\');'">立即提交
                </button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<div th:include="include::footer"></div>
<script src="../../../static/js/appjs/classroom/edit.js"></script>
</body>
</html>